<% floor = reply_counter + 1%>

<div class=" media reply reply-<%=reply.id %>" style="border-bottom: 1px solid lightgray">

	<div class="avatar">
		<%= link_to gravatar_for(reply.user,size: "60"),user_path(reply.user_id)%>
	</div>
	<div class="media-body infos">
		<div class="info">
			<span class="name">
				<%= link_to reply.user.name,user_path(reply.user_id)%>
			</span>
			<span class="time">
				<a href="#reply<%= floor %>">
					#<%= floor %> . <% time_ago_in_words(reply.created_at)%>
				</a>
			</span>
			<span class="opts pull-right">
				<%= like_tag(reply)%>
			</span>

		</div>
		<div class="markdow">
			<%= raw reply.body_html%>
		</div>
		</div>
	</div>
